GdkSurface - Don't call unimplemented NULL set_startup_id() vfunc on Win32
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 May 2019 06:53:51 +0000 (09:53 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 May 2019 18:38:46 +0000 (21:38 +0300)
commit2bd6661cd3416ff0a96f4a329ac6bde032f5e33b
tree22811d2f7eac40374ac672776ff426f0a02eb69a
parent31cd43a2453db4323df58d2d07f514cb9f3a53b2
GdkSurface - Don't call unimplemented NULL set_startup_id() vfunc on Win32

GdkSurface::set_startup_id() is NULL on Win32 and would cause a segfault
if called.

While the documentation of the main caller of set_startup_id(),
gtk_window_set_startup_id(), mentions that it's not implemented on
Windows it can still be automatically called via Glade and simply doing
nothing on Win32 is going to be less disruptive than a segfault.
gdk/gdksurface.c